export default [
  {
    path: '/lottery',
        component: () => import('@/views/global/index.vue'),
        children: [
            {
                path: 'debrisList',
                component: () => import('@/views/lottery/debris/list/list'),
                meta: { title: '碎片列表', keepAlive: true }
            },
            {
                path: 'debrisDetail',
                component: () => import('@/views/lottery/debris/list/detail'),
                meta: { title: '碎片详情' }
            },
            {
                path: 'debrisUser',
                component: () => import('@/views/lottery/debris/user/user'),
                meta: { title: '用户兑换明细' }
            },
            {
                path: 'lotteryInfo',
                component: () => import('@/views/lottery/index'),
                meta: { title: '抽奖管理', keepAlive: true }
            },
            {
                path: 'detail',
                component: () => import('@/views/lottery/detail'),
                meta: { title: '抽奖详情' }
            },
            {
                path: 'create',
                component: () => import('@/views/lottery/detail'),
                meta: { title: '创建抽奖' }
            },
            {
                path: 'template',
                component: () => import('@/views/lottery/template/index'),
                meta: { title: '抽奖规则模板', keepAlive: true }
            },
            {
                path: 'createTemplate',
                component: () => import('@/views/lottery/template/create'),
                meta: { title: '创建抽奖规则模板' }
            }
        ]
  }
]
